package com.whw.fy.mapper;

import com.whw.fy.entity.Lesson;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LessonMapper {
    int deleteByPrimaryKey(Integer lessonId);

    int insertSelective(Lesson record);

    Lesson selectByPrimaryKey(Integer lessonId);

    int updateByPrimaryKeySelective(Lesson record);

    int batchInsert(@Param("list") List<Lesson> list);

    List<Lesson> selectAll();
}